package com.pig4cloud.pig.module.api.entity.farm;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 领取鸡蛋的记录对象 farm_get_egg_record
 *
 * @author ruoyi
 * @date 2021-12-15
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("farm_get_egg_record")
public class FarmGetEggRecord implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 设备id
     */
    private Integer deviceId;

    /**
     * 领取时间
     */
    @TableField(fill = FieldFill.INSERT)
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 领取数量
     */
    private Integer count;

}
